﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/admin.master" AutoEventWireup="true" CodeFile="DSQuangCao.aspx.cs" Inherits="admin_DSQuangCao" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<%@ Register src="MyUserControls/TH_QuangCaoAdmin.ascx" tagname="TH_QuangCaoAdmin" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
     <span class="AdminTitle" style="color:#cc0000;">Quản lý quảng cáo</span>
    <a href="../Default.aspx" class="AdminPageText"></a>
    <br />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <uc1:TH_QuangCaoAdmin ID="TH_QuangCaoAdmin1" runat="server" />
    <span style="font-size:18px; font-weight:bold;">Thêm quảng cáo mới</span>
            <table border="0" cellspacing="0" cellpadding="0" >
                <tbody>
                    <tr>
                        <td>
                            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="AdminPageText">
                                <tbody>
                                    <tr>
                                        <td height="20" style="width: 130px">
                                            <div align="left" style="padding-top:10px">
                                                <font class="normal8">Vị trí: </font>
                                            </div>
                                        </td>
                                        <td height="20">
                                            <div align="left" style="padding-top:10px">
                                                <asp:DropDownList ID="lstViTri" runat="server">
                                                    <asp:ListItem Value="1">1</asp:ListItem>
                                                    <asp:ListItem Value="2">2</asp:ListItem>
                                                    <asp:ListItem Value="3">3</asp:ListItem>
                                                    <asp:ListItem Value="4">4</asp:ListItem>
                                                </asp:DropDownList>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="20" style="width: 130px">
                                            <div align="left" style="padding-top:10px">
                                                <font class="normal8">Hình ảnh: </font>
                                            </div>
                                        </td>
                                        <td height="20">
                                            <div align="left" style="padding-top:10px">
                                                <asp:FileUpload ID="fileUploadHinhAnh" runat="server" Width="200px" />
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="20" style="width: 130px">
                                            <div align="left" style="padding-top:10px">
                                                <font class="normal8">Giá: </font>
                                            </div>
                                        </td>
                                        <td height="20">
                                            <div align="left" style="padding-top:10px">
                                                <asp:TextBox ID="txtGia" runat="server" Width="100px" Text=""></asp:TextBox>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="20" style="width: 130px">
                                            <div align="left" style="padding-top:10px">
                                                <font class="normal8">Tên khách hàng: </font>
                                            </div>
                                        </td>
                                        <td height="20">
                                            <div align="left" style="padding-top:10px">
                                                <asp:TextBox ID="txtTenKhachHang" runat="server" Width="150px" Text=""></asp:TextBox>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="20" style="width: 130px">
                                            <div align="left" style="padding-top:10px">
                                                <font class="normal8">Website: </font>
                                            </div>
                                        </td>
                                        <td height="20">
                                            <div align="left" style="padding-top:10px">
                                                <asp:TextBox ID="txtWebsite" runat="server" Width="150px" Text=""></asp:TextBox>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="20" style="width: 130px">
                                            <div align="left" style="padding-top:10px">
                                                <font class="normal8">Ngày bắt đầu: </font>
                                            </div>
                                        </td>
                                        <td height="20">
                                            <div align="left" style="padding-top:10px">
                                                <asp:TextBox ID="txtNgayBatDau" runat="server" CssClass="txtKeyword"></asp:TextBox>
                                                <asp:ImageButton runat="Server" ID="ImageButton1" ImageUrl="../images/Calendar.png" AlternateText="Click here to display calendar" Width="20" Height="20" style="margin-bottom:-6px;"/>
                                                <cc1:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtNgayBatDau" PopupButtonID="ImageButton1">
                                                </cc1:CalendarExtender>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="20" style="width: 130px">
                                            <div align="left" style="padding-top:10px">
                                                <font class="normal8">Ngày kết thúc: </font>
                                            </div>
                                        </td>
                                        <td height="20">
                                            <div align="left" style="padding-top:10px">
                                                <asp:TextBox ID="txtNgayKetThuc" runat="server" CssClass="txtKeyword"></asp:TextBox>
                                                <asp:ImageButton runat="Server" ID="ImageButton2" ImageUrl="../images/Calendar.png" AlternateText="Click here to display calendar" Width="20" Height="20" style="margin-bottom:-6px;"/>
                                                <cc1:CalendarExtender ID="CalendarExtender2" runat="server" TargetControlID="txtNgayKetThuc" PopupButtonID="ImageButton2">
                                                </cc1:CalendarExtender>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="20" style="width: 130px">

                                        </td>
                                        <td height="20">
                                            <div align="left">
                                                <br/>
                                                <p>
                                                    <asp:Button ID="lkbtnThem" runat="server" ForeColor="#003399" Text="Thêm" 
                                                        style="height: 26px" onclick="lkbtnThem_Click" />
                                                </p>
                                            </div>
                                        </td>
                                    </tr>

                                </tbody>
                            </table>
                        </td>
                    </tr>
                </tbody>
            </table>
</asp:Content>

